<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="update">
    <input type="hidden" name="eid" th:value="${emp.eid}">
    姓名：<input type="text" name="ename" th:value="${emp.ename}">
    部门：<select name="did">
    <tr th:each="dept:${dlist}">
        <option th:value="${dept.did}" th:text="${dept.dname}"></option>
    </tr>
</select>
    城市：<select name="cid">
    <tr th:each="city:${clist}">
        <option th:value="${city.cid}" th:text="${city.cname}"></option>
    </tr>
</select>
    <input type="submit" value="修改">

</form>
</body>
</html>